#!/usr/bin/env python
# -*- coding:utf8 -*-
# uncompyle6 version 2.15.1
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.10 (default, Jul  1 2017, 13:36:56) 
# [GCC 4.4.6 20110731 (Red Hat 4.4.6-4)]
# Embedded file name: ./esb/healthz/utils.py
# Compiled at: 2017-11-16 15:44:28


def ok_resp(code='1306000', message='OK', data={}):
    return {'ok': True,
       'code': code,
       'message': message,
       'data': data
       }


def failed_resp(code='1306000', message='error', data={}):
    return {'ok': False,
       'code': code,
       'message': message,
       'data': data
       }
